package com.cxs.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Project: scheduled-demo
 * @Author: cxs2014501@163.com
 * @Create: 2023/1/16 15:17
 * @Description:
 **/
@Component
public class TestTask {

    // @Scheduled(cron = "*/5 * * * * ?")
    public void printTest(){
        System.out.println("printTest任务执行");
    }
}
